package com.jiedeng.dao;

import com.jiedeng.model.ReportVersion;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author ZHOUYB
 * @ClassName: IOrderRepository
 * @Description:
 * @date 2017/8/4 10:56
 */
public interface IReportVersionRepository extends JpaRepository<ReportVersion, Long> {
    List<ReportVersion> findAll(Specification<ReportVersion> specification);

    List<ReportVersion> findAllByCaptionLikeAndTaskIdAndTypeAndSubType(String caption,String taskId,Integer type,Integer subType);


}
